.class Lcom/estrongs/io/archive/compressor/a$a;
.super Ljava/lang/Object;
.source "CompressorInArchive.java"

# interfaces
.implements Ljava/util/Iterator;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/io/archive/compressor/a;->e()Ljava/util/Iterator;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Iterator<",
        "Lcom/estrongs/io/model/ArchiveEntryFile;",
        ">;"
    }
.end annotation


# instance fields
.field a:I

.field final synthetic b:Lcom/estrongs/io/archive/compressor/a;


# direct methods
.method constructor <init>(Lcom/estrongs/io/archive/compressor/a;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/io/archive/compressor/a$a;->b:Lcom/estrongs/io/archive/compressor/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput p1, p0, Lcom/estrongs/io/archive/compressor/a$a;->a:I

    return-void
.end method


# virtual methods
.method public hasNext()Z
    .locals 2

    .line 1
    iget v0, p0, Lcom/estrongs/io/archive/compressor/a$a;->a:I

    const/4 v1, 0x1

    if-ge v0, v1, :cond_0

    return v1

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public next()Lcom/estrongs/io/model/ArchiveEntryFile;
    .locals 4

    .line 2
    iget v0, p0, Lcom/estrongs/io/archive/compressor/a$a;->a:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/estrongs/io/archive/compressor/a$a;->a:I

    .line 3
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/estrongs/io/archive/compressor/a$a;->b:Lcom/estrongs/io/archive/compressor/a;

    invoke-static {v1}, Lcom/estrongs/io/archive/compressor/a;->a(Lcom/estrongs/io/archive/compressor/a;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 4
    invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "."

    .line 5
    invoke-virtual {v1, v2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v2

    if-lez v2, :cond_0

    const/4 v3, 0x0

    .line 6
    invoke-virtual {v1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    .line 7
    :cond_0
    new-instance v2, Lcom/estrongs/io/archive/compressor/CompressorArchiveEntryFile;

    invoke-direct {v2, v1}, Lcom/estrongs/io/archive/compressor/CompressorArchiveEntryFile;-><init>(Ljava/lang/String;)V

    .line 8
    invoke-virtual {v0}, Ljava/io/File;->length()J

    move-result-wide v0

    invoke-virtual {v2, v0, v1}, Lcom/estrongs/io/archive/compressor/CompressorArchiveEntryFile;->setSize(J)V

    return-object v2
.end method

.method public bridge synthetic next()Ljava/lang/Object;
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/io/archive/compressor/a$a;->next()Lcom/estrongs/io/model/ArchiveEntryFile;

    move-result-object v0

    return-object v0
.end method

.method public remove()V
    .locals 0

    return-void
.end method
